package phase01module02.homework;


public abstract class Abstract {
    /**
     * expense 费用
     * quantity 数量
     */
    private int expenses;
    private int quantity;

    public Abstract() {
    }

    public Abstract(int expense, int quantity) {
        setExpense(expense);
        setQuantity(quantity);
    }

    public int getExpense() {
        return expenses;
    }

    public void setExpense(int expense) {
        this.expenses = expense;
    }

    public int getQuantity() {
        return quantity;
    }

    public void setQuantity(int quantity) {
        this.quantity = quantity;
    }

    public abstract void show();

}
